/**
 * 
 */
package com.hs.pre.module.index;

import com.hs.core.db.DBOperator;
import com.hs.core.db.DatabaseConnection;

/**
 * @author shl
 *
 */
public abstract class IndexInterface {
	/**
	 * 获得数据库操作类
	 * @return
	 */
	protected DBOperator getDBOperator(){
		try { 
			DBOperator dbo = DatabaseConnection.getDBOperator();
			return dbo;
		} catch (Exception e) { 
			e.printStackTrace();
		}
		return null;
	}
	/**
	 * 索引
	 */
	public abstract void indexPre();
}
